<?php /* Smarty version 2.6.16, created on 2008-07-03 14:37:15
         compiled from admin/tabs/basic.tmpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'fckeditor', 'admin/tabs/basic.tmpl', 34, false),)), $this); ?>
<script type="text/javascript" src="/a/js/jQuery/upload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/a/js/jQuery/upload/myfunction.js"></script>
<script>
	function myConfirm (text,url) {
		if (confirm(text) ) {
//alert(url);		
			location.href = url;
		}
	}
</script>
<form action="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/admin/<?php echo $this->_tpl_vars['content']->alias; ?>
" method="post">
	<input type="hidden" name="save" value="basic">
	<div id="content-menu">
		Название:<br /><input type="text" name="value" value="<?php echo $this->_tpl_vars['content']->value; ?>
"><br />
		Алиас:<br /><input type="text" name="alias" value="<?php echo $this->_tpl_vars['content']->alias; ?>
"><br />
	</div>
	<div id="content-menu-right">
		<?php if ($this->_tpl_vars['content']->visibility): ?>
		<a id="eye" href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/admin/<?php echo $this->_tpl_vars['content']->alias; ?>
?visibility=0"><img src="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/a/images/blank.gif" title="[скрыть]" alt="[скрыть]"></a>
		<?php else: ?>
		<a id="eye_hidden" href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/admin/<?php echo $this->_tpl_vars['content']->alias; ?>
?visibility=1"><img src="/a/images/blank.gif" title="[показать]" alt="[показать]"></a>
		<?php endif; ?>
		&nbsp;
		<a id="remove" href="#"><img src="/a/images/blank.gif" title="[удалить]" alt="[удалить]" onClick="myConfirm('Уверены?','/admin/<?php echo $this->_tpl_vars['content']->alias; ?>
?delete');"></a>
		<!--img  border="0" src="/img/remove.png" title="[удалить]" alt="[удалить]" onClick="myConfirm('Уверены?','<?php echo $this->_tpl_vars['BASE_URL']; ?>
/admin/<?php echo $this->_tpl_vars['content']->alias; ?>
?delete');"-->
		<br />
		<span class="note">последнее обновление:<br /><?php echo $this->_tpl_vars['content']->date; ?>
</span>
		</div>
	<div id="content-text">
	<!-- alias: <?php echo $this->_tpl_vars['BASE_URL']; ?>
/<?php echo $this->_tpl_vars['alias']; ?>
 -->
	
	<?php echo smarty_function_fckeditor(array('Value' => $this->_tpl_vars['content']->text,'InstanceName' => 'Text','Height' => '500px','BasePath' => "/a/js/fckeditor.new/",'PreviewURI' => ($this->_tpl_vars['BASE_URL'])."/".($this->_tpl_vars['alias'])), $this);?>

		<input type="submit" value="Сохранить">
	</div>
</form>
&nbsp;